<style lang="scss" scoped="">
    @import "../../../utils/base.scss";
</style>
<template>
	<div>
        <Table border :columns="columns" :data="resultData">
        </Table>
    </div>
</template>
<script>
	import Axios from 'axios'
    import ajax from "../../../ajax_util"

    export default {
    	data () {
    		return{
                columns:[
                    {
                        title: '序号',
                        type: 'index',
                        width: 70,
                        align: 'center',
                        fixed: 'left'
                    },
                    {
                        title: '数据库名',
                        key: 'fieldEnum',
                        width:150,
                        resizable:true
                    },
                    {
                        title: '数据表名',
                        key:'fieldName',
                        width:150,
                        resizable:true
                    },
                    {
                        title: '来源系统',
                        key:'c',
                        width:150,
                        resizable:true
                    },
                    {
                        title: '日表/月表',
                        key:'d',
                        width:150,
                        resizable:true
                    },
                    {
                        title: '表类型',
                        key:'e',
                        width:150,
                        resizable:true
                    },
                    {
                        title: '字段名称',
                        key:'f',
                        width:150,
                        resizable:true
                    },
                    {
                        title: '是否为必选字段',
                        key:'g',
                        width:150,
                        resizable:true
                    },
                    {
                        title: '是否加密',
                        key:'h',
                        width:150,
                        resizable:true
                    },
                    {
                        title: '加密方式',
                        key:'i',
                        width:150,
                        resizable:true
                    },
                ]
    		}
    	},
    	mounted() {},
    	methods: {},
        props:{
            resultData:{}
        },
        watch:{
            resultData(value){
                this.resultData = value;
                console.log("-------myresultData--------",this.resultData);
            }
        }
    }
</script>